import { BasicColumn } from '/@/components/Table';
import { FormSchema } from '/@/components/Table';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '主商家编码',
    align: 'center',
    dataIndex: 'mainouterid',
    width: 220,
  },
  {
    title: '商品名称',
    align: 'center',
    dataIndex: 'title',
    width: 400,
  },
  {
    title: '实际总库存数',
    align: 'center',
    dataIndex: 'totalavailablestocksum',
  },
  {
    title: '实际锁定库存',
    align: 'center',
    dataIndex: 'totallockstock',
  },
  {
    title: '实际可用库存',
    align: 'center',
    dataIndex: 'totalavailablestock',
  },
  {
    title: 'SLT锁定库存',
    align: 'center',
    dataIndex: 'sltLockStock',
  },
  {
    title: 'SLT可用库存',
    align: 'center',
    dataIndex: 'sltAvailableStock',
  },
];

export const searchFormSchema: FormSchema[] = [
  {
    label: '商品UPC条码',
    field: 'mainouterid',
    component: 'JInput', //TODO 范围查询
    //colProps: {span: 6},
  },
];
